package com.heyqing.ems.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heyqing.ems.domain.ResignationManagement;
import com.heyqing.ems.po.QueryPo;
import com.heyqing.ems.po.ResignationPo;
import com.heyqing.ems.vo.Result;

/**
 * ClassName:ResignationService
 * Package:com.heyqing.ems.service
 * Description:
 *
 * @Date:2024/6/26
 * @Author:Heyqing
 */
public interface ResignationService extends IService<ResignationManagement> {
    /**
     * 离职查询
     *
     * @param queryPo
     * @return
     */
    Result getList(QueryPo queryPo);

    /**
     * 创建离职
     *
     * @param resignationPo
     * @return
     */
    Result saveResignation(ResignationPo resignationPo);

    /**
     * 同意离职
     *
     * @param id
     * @return
     */
    Result agree(Long id);
}
